package com.yz.sharkim.entity.message.response;

import com.yz.sharkim.annotation.Id;
import com.yz.sharkim.entity.message.BaseMessage;
import com.yz.sharkim.entity.User;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author yangzheng
 * @version 1.0
 * @date 2019/11/4 10:45
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Id(BaseMessage.AUTHENTICATION_RESPONSE)
public class AuthenticationResponse extends CommonResponse {

    private User user;

    private String token;
}
